package cn.fzkj.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.fzkj.common.utils.PageUtils;
import cn.fzkj.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 *  采购需求业务层
 *
 * @author chenxin
 * @email chenxin@gmail.com
 * @date 2022-02-17 22:59:33
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /** 通过id查询采购需求 */
    List<PurchaseDetailEntity> getPurchaseDetailById(List<Long> detailIds);

    /** 通过采购单id查询下面的采购需求 */
    List<PurchaseDetailEntity> getPurchaseDetailByPurchaseId(Long purcahseId);
}

